-- GENERATED SPELL FOR [Iron Rune Runemaster] --


function spell0_23675(pUnit, Event) --@Rune of Destruction,n/a--
pUnit:FullCastSpellOnTarget(49753,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23675', 7000, 1)
end

function Sorts_23675(pUnit, Event)
local choix_sorts_23675 = math.random(0, 0)
if choix_sorts_23675 == 0 then
pUnit:RegisterEvent('spell0_23675', 1, 1)
end
end

function mob23675_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23675', math.random(1500, 3000), 1)
end

function mob23675_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23675_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23675_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23675, 1, 'mob23675_Action')
RegisterUnitEvent(23675, 2, 'mob23675_Leave')
RegisterUnitEvent(23675, 3, 'mob23675_Kill')
RegisterUnitEvent(23675, 4, 'mob23675_Die')
